package edu.hwadee.entity;

import java.util.Date;

/**
 * Builddepreciation entity. @author MyEclipse Persistence Tools
 */

public class Builddepreciation implements java.io.Serializable {

	// Fields

	private Integer buildDepreciationId;
	private Build build;
	private Date depreciationDate;
	private Float initialValue;
	private Float finalValue;
	private Float depreciationValue;

	// Constructors

	/** default constructor */
	public Builddepreciation() {
	}

	/** full constructor */
	public Builddepreciation(Build build, Date depreciationDate, Float initialValue, Float finalValue,
			Float depreciationValue) {
		this.build = build;
		this.depreciationDate = depreciationDate;
		this.initialValue = initialValue;
		this.finalValue = finalValue;
		this.depreciationValue = depreciationValue;
	}

	// Property accessors

	public Integer getBuildDepreciationId() {
		return this.buildDepreciationId;
	}

	public void setBuildDepreciationId(Integer buildDepreciationId) {
		this.buildDepreciationId = buildDepreciationId;
	}

	public Build getBuild() {
		return this.build;
	}

	public void setBuild(Build build) {
		this.build = build;
	}

	public Date getDepreciationDate() {
		return this.depreciationDate;
	}

	public void setDepreciationDate(Date depreciationDate) {
		this.depreciationDate = depreciationDate;
	}

	public Float getInitialValue() {
		return this.initialValue;
	}

	public void setInitialValue(Float initialValue) {
		this.initialValue = initialValue;
	}

	public Float getFinalValue() {
		return this.finalValue;
	}

	public void setFinalValue(Float finalValue) {
		this.finalValue = finalValue;
	}

	public Float getDepreciationValue() {
		return this.depreciationValue;
	}

	public void setDepreciationValue(Float depreciationValue) {
		this.depreciationValue = depreciationValue;
	}

}